#ifndef CONFIG_H
#define CONFIG_H


#ifdef WIN32

  // Windows 32bit section
#  pragma warning(disable:4996;disable:4267;disable:4800)
#  define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1
#  define _CRT_SECURE_NO_DEPRECATE 1

typedef unsigned int        u_int32_t;
typedef unsigned short int  u_int16_t;
typedef unsigned char       u_int8_t;
#  define HAVE_ROOT
// #  define ZLIB_DLL

#else

  // Linux 32bit section
#  define HAVE_ROOT
#  define HAVE_GETOPT_LONG
#  define HAVE_ROUND
#  define HAVE_ANSI

  // file access mode specifiers unique to windows:
#  define O_BINARY 0
#  define O_SEQUENTIAL 0

#endif

#endif
